home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 24 / AACD 24.iso / AACD / Online / Epic4 / share / epic / help / 6_functions / version < prev    next >
Text File  |  2001-03-21  |  1KB  |  41 lines

  1. Synopsis:
  2.    $version([<server>])
  3.  
  4. Technical:
  5.    This function returns the given server's version class.  It may accept
  6.    either a server name or a server number from the client's internal server
  7.    list.  It only functions properly for servers that the client is
  8.    currently, or has previously, connected to.  If a server is not given,
  9.    the current is assumed.
  10.  
  11. Practical:
  12.    This function is mainly useful for determining, in general, the type of
  13.    server you're on.  It does not return the full server version.  Rather,
  14.    it returns the class, or major revision number, of the server.
  15.  
  16. Returns:
  17.     2.5        a 2.5.x server
  18.     2.6        a 2.6.x server
  19.     2.7        a 2.7.x server
  20.     2.8        a 2.8.x server
  21.    u2.8        a 2.8.x server, Undernet (mu/me)
  22.     2.9        a 2.9.x server
  23.    u2.9        a 2.9.x server, Undernet
  24.     2.10       a 2.10.x server
  25.    u3.0        a 3.0.x server, Undernet
  26.    Unknown     version could not be determined
  27.  
  28. Examples:
  29.    $version(2)                  get version for server #2
  30.    $version(irc.foobar.com)     get version for server "irc.foobar.com"
  31.  
  32. See Also:
  33.    version(2)
  34.  
  35. Other Notes:
  36.    Some non-Undernet servers may nonetheless return "u2.8" as their class.
  37.    This only means that the server in question is aware of Undernet's extra
  38.    numeric replies.  These servers usually have ".me" in their version
  39.    string.
  40.  
  41.